Skip to content

Split CI checks from Netlify previews#97

Merged
john-kurkowski merged 5 commits into
masterfrom
split-ci-netlify
Jun 14, 2026
Merged

Split CI checks from Netlify previews#97
john-kurkowski merged 5 commits into
masterfrom
split-ci-netlify

Conversation

@john-kurkowski

@john-kurkowski john-kurkowski commented Jun 14, 2026

Copy link
Copy Markdown
Owner

Context

Previously, failing typechecks would prevent branch deploy previews. Failed production deploy reasons were primarily due to the test suite, and not visible from GitHub.

Move the primary checking responsibility to GitHub Actions.

Changes

  • Run tests and visual regression in GitHub Actions
  • Leave Netlify deploy previews build-only
  • For production, publish in Netlify after GitHub Actions pass

Run tests and visual regression in GitHub Actions, publish production from GitHub Actions after they pass, and leave Netlify deploy previews build-only.
Comment thread .github/workflows/vrt.yml Fixed
Comment thread .github/workflows/vrt.yml Fixed
Restrict the default GitHub Actions token to read-only repository contents for CI and Netlify deploy jobs.
Keep the workflow token read-only for repository contents, but restore status write access for the visual regression action.
Run visual regression only for pull requests and master pushes so Lost Pixel does not receive separate push and pull_request uploads for the same commit.
@john-kurkowski john-kurkowski merged commit abba2a8 into master Jun 14, 2026
13 checks passed
@john-kurkowski john-kurkowski deleted the split-ci-netlify branch June 14, 2026 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants